/*
 * cyin 自己的FckEditor配置
 */

/*
 *使用 office2003 皮肤
 */

FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/office2003/' ;
FCKConfig.SkinEditorCSS = '' ;	// FCKConfig.SkinPath + "|<minified css>" ;
FCKConfig.SkinDialogCSS = '' ;	// FCKConfig.SkinPath + "|<minified css>" ;

/*
 * 不自动探测语言 默认英文 现在弄成中文
 */
FCKConfig.AutoDetectLanguage	= false ;
FCKConfig.DefaultLanguage		= 'zh-cn' ;

/*
 * 工具集的修改 
 */
 
 FCKConfig.ToolbarSets["cyinToolBar"] = [
	['NewPage','Preview','-','Templates'],
	['Cut','Copy','Paste','PasteText','PasteWord'],
	['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
	['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
	'/',
	['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote','CreateDiv'],
	['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
	['Link','Unlink','Anchor'],
	['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'],
	'/',
	['Style','FontFormat','FontName','FontSize'],
	['TextColor','BGColor','FitWindow']		// No comma for the last row.
] ;

/*
 * 换行方式修改一下
 */
 
FCKConfig.EnterMode = 'br' ;			// p | div | br
FCKConfig.ShiftEnterMode = 'p' ;	// p | div | br


/*
 * 添加中文字体的支持
 */

FCKConfig.FontNames		= '华文仿宋;华文行楷;华文楷体;华文隶书;华文新魏;楷体;隶书;Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ;




/*
 * 表情图片的配置 
 */


FCKConfig.SmileyPath	= FCKConfig.BasePath + 'images/smiley/cyinSmiley/' ;
FCKConfig.SmileyImages	= ['mima.gif','QQ.gif','QQ1.gif','QQ2.gif','QQ3.gif','QQ4.gif',
							'BUY.gif','c.gif','embaressed_smile.gif','lightbulb.gif',
							'heart.gif','confused_smile.gif','thumbs_down.gif',
							'angry_smile.gif','sad_smile.gif','teeth_smile.gif','envelope.gif',
							'devil_smile.gif','whatchutalkingabout_smile.gif','cry_smile.gif',
							'regular_smile.gif','omg_smile.gif','angel_smile.gif','wink_smile.gif',
							'kiss.gif','tounge_smile.gif','cake.gif'] ;
FCKConfig.SmileyColumns =4 ;
/*
 *  cyin 修改了fck_smiley.html的源代码 
 * 			cyin修改1
 *  1.因为它默认设置是自动调整窗体大小
 *  	所以下面我指定大小就没用的
 * 			cyin修改2
 *  2.图片如果显示不完，默认会隐藏
 * 		所以...改了
 */
FCKConfig.SmileyWindowWidth		= 600 ;
FCKConfig.SmileyWindowHeight	= 400 ;





